//引入封装的axios的请求进行二次封装
import http from '../https'
//查询所有点餐
const orders = () => http({
    url: "/selectAllOrderingFood",
    method: 'get'
})
//14.查询指定编号的餐桌,输入餐桌编号
const queryTable = () => http({
    url: '/selectFoodTableByNumber',
    method: 'get'
})
//收银处理提交餐桌id菜品id
const order = () => http({
    url: "/deleteOrderingFoodById",
    method: 'post'
})
// const order
export { orders, order, queryTable }